package com.peanut.baby.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/31.
 */

public class HomeData implements Serializable{
    @SerializedName("liveData")
    public List<LiveRoom>   lives;
    @SerializedName("bannerData")
    public List<Ad>         banners;
    @SerializedName("qaData")
    public List<QA>         qas;
    @SerializedName("postData")
    public List<BBSMoment>  moments;
    @SerializedName("group")
    public LiveGroup group;
    @SerializedName("todaySubject")
    public List<TodaySubject> todaySubject;
    @SerializedName("todaySubjectName")
    public String todaySubjectName;

    @SerializedName("unreadMsg")
    public int  unreadMsg = 0;

    @SerializedName("unreadMsg2")
    public int  unreadMsg2 = 0;

    @Override
    public String toString() {
        return "HomeData{" +
                "lives=" + lives == null?" not exists":" "+lives.size() +
                ", banners=" + banners == null?" not exists":" "+banners.size() +
                ", qas=" + qas == null?" not exists":" "+qas.size() +
                ", moments=" + moments == null?" not exists":" "+moments.size() +
                '}';
    }
}
